dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18f1971
)
minor code standardization
author
Antoine Musso
<hashar@users.mediawiki.org>
Sat, 14 Aug 2004 19:33:59 +0000
(19:33 +0000)
committer
Antoine Musso
<hashar@users.mediawiki.org>
Sat, 14 Aug 2004 19:33:59 +0000
(19:33 +0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
677b163
..
0ae0908
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-1321,7
+1321,7
@@
class Article {
#if this is empty, an earlier revision may contain "useful" text
$blanked = false;
- if($s->cur_text
!=""
) {
+ if($s->cur_text
!= ''
) {
$text=$s->cur_text;
} else {
if($old) {
@@
-1456,7
+1456,7
@@
class Article {
$t = $this->mTitle->getDBkey();
$id = $this->mTitle->getArticleID();
- if (
'' == $t
|| $id == 0 ) {
+ if (
$t == ''
|| $id == 0 ) {
return false;
}